package com.gzh.core.dao.po;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @Author guanzh
 * @Date 2021/12/27 13:12
 * @Description
 */
@Setter
@Getter
@ToString
@Table(name = "TUSER")
public class UserEntity {
    @Column(name = "USER_ID")
    private Integer userId;

    @Column(name = "TEL")
    private String tel;

    @Column(name = "MAIL")
    private String mail;

    @Column(name = "PASSWORD")
    private String password;

    @Column(name = "FULL_NAME")
    private String fullName;

    @Column(name = "SEX")
    private Integer sex;

    @Column(name = "SCHOOL_ID")
    private Integer schoolId;

    @Column(name = "GRADE")
    private Integer grade;

    @Column(name = "ACADEMY_ID")
    private Integer academyId;

    @Column(name = "CLASS_ID")
    private Integer classId;

    @Column(name = "STU_ID")
    private String stuId;

    @Column(name = "ROLE_ID")
    private Integer roleId;

    @Column(name = "IMG")
    private String img;
}
